Welcome to JustAnswer, my name is XXXXX XXXXX I'm here to help get your problem resolved. Ask follow up questions, thanks.
This code is related to heater circuit on oxygen sensor so mass airflow sensor cant be the cause.At the oxygen sensor, check for the correct heater circuit resistance. 11-16 ohms should be present. At the Red wire of the oxygen sensor, check for 12 volts when the key is in the On position. Check the solid Yellow wire of the oxygen sensor for an open or short to ground between the sensor and the engine control module.
P0155 Heated Oxygen Sensor (Bank 2 Sensor 1) Heater Circuit Malfunction
I think just happened to get some poor sensors, they dont usually continue to fail like this and nothing should cause them to fail early.