And..the code isn't for a bad sensor.

Bad sensor codes include ones for sensor slow to respond, bad voltage, heater etc.

P0420 is the code that says the rear sensor isn't seeing the catalytic doing a good job of reducing the emissions .