I use this website to identify oem part numbers that fit my car (year/model/engine) especially if you want to buy a used part
from 1st gen and see if it fits 2nd gen. Even though you run a 2.0L or 2.3L same part may not fit from one generation to the other.
Alot of aftermarket parts will say which oem part it replaces so you can double check on the website below.
https://www.realmazdaparts.com/ .