Check engine light on autozone says oxygen sensor needs replacement on 2007 Toyota Corolla

Is the oxygen sensor covered under the Federal emissions law car has less than 80,000 miles. Toyota first said yes and when I went to make appointment they said no. Check engine light has been on for six months.

Asked by for the 2007 Toyota Corolla
2 answers 3 comments
Only the catalytic converter is covered under this warranty. So no the oxygen sensor is not covered under the warranty.
Thank you
the codes say there is an ox sensor issue not repl o2 sensors,it could be circuit or fuel trim issues
They tried to sell me the o2 sensor should I pay for a diagnostic test at a shop? Thank you
yes most def