P1131 Lack of Upstream Heated Oxygen Sensor Switch - Sensor Indicates Lean - Bank No. 1
If the rear upstream sensor has been replaced and you still get this code, either the wiring is bad or air is entering the the rear bank. Check the connector and wires to the sensor. If engine performance is affected this could be at the intake gaskets, and if not, at the exhaust gaskets or EGR tube connection.