P0031 is a malfunction in the first Oxygen Sensor Heater. The ECU detected a voltage which is too low. This is due to either a bad connection or a defective O2 sensor. Lew