Borrowing John's descriptions for your error codes:
P0031: HO2S Heater Control Circuit Low Voltage Sensor 1 - Heater voltage supply is shorted to ground
P0100: MAF Sensor Circuit - One of the MAF wires is open, has high resistance, or is shorted to ground
P0458: Evap Purge Solenoid Control Circuit Low Voltage - Control circuit is shorted to ground
On X1, you have pin 6 controlling the EVAP solenoid (P0458), and pins 67, 68 to Heated O2 Sensor 1 (P0031).
Interestingly, MAF sensor signal (P0100) comes to the ECM on
X2, pin 13.
Have you disconnected your ECM connectors and checked both the ECM side and the wiring harness side for signs of corrosion? Another suggestion is to follow the cables from the ECM onwards and try to find any point where they might be chafing against the chassis or something sharp.
EVAP, X1:
HO2S1, X1:
MAF, X2: