I fixed the P0017 code when I replaced the timing belt. The car has been sitting for a while. Could that cause the P0420?
Many things could cause the P0420. Anything from a plugged catalytic converter to a damaged rear (downstream) O2 sensor. I would checks the wires and connectors to the O2 sensor. Also I would check any exhaust leaks or damaged to pipes too.