P0421 code?

Hi I have a mazda 6s year 2005, 6 cylinder. I have a check engine light with codes p0421 and p0345. Does anyone know if the catilac converter is bad? Or could it just be the 02 sensor?
3 answers 3