This car is new to me. I'm now able to drive it after swapping the HV battery pack. The previous owner had just replaced the AFM with a part from Autozone or Advance. The car seems to drive ok, but I'm still getting a code for the AFM and O2 sensor bank 1, not sure if there is a causal relationship there. Is the part just junk? What else would cause it to be out of range?
I'm no expert at codes but it looks like your Mass Airflow sensors has a problem and I would start by cleaning it. The second code means your catalytic converter is bad from what I read. I found this for P0420 The ECM uses sensors mounted in front of and behind the Three-Way Catalytic Converter (TWC) to monitor its efficiency. The first sensor, the air fuel ratio sensor, sends pre-catalyst information to the ECM. The second sensor, the heated oxygen sensor, sends post-catalyst information to the ECM. In order to detect any deterioration in the three-way catalytic converter, the ECM calculates the oxygen storage capacity of the three-way catalytic converter. This calculation is based on the output voltage of the heated oxygen sensor while performing active air fuel ratio control. The oxygen storage capacity value is an indication of the oxygen storage capacity of the three-way catalytic converter. When the vehicle is being driven with a warm engine, active air fuel ratio control is performed for approximately 30 seconds. When it is performed, the ECM deliberately sets the air fuel ratio to lean or rich levels. If the cycle of the waveform for the heated oxygen sensor is long, the oxygen storage capacity is great. There is a direct correlation between the heated oxygen sensor and the oxygen storage capacity of the three-way catalytic converter. The ECM uses the oxygen storage capacity value to determine the state of the three-way catalytic converter. If any deterioration has occurred, the ECM will illuminate the MIL and store a DTC. This system determines the deterioration of the entire catalyst system (including the front and rear catalysts), by using the oxygen storage capacity value of the front catalyst, that is more sensitive than the rear catalyst, as the representative value. Therefore, be sure to replace the front and rear catalysts together when catalyst replacement is necessary.