Without looking at a car, the bottom one looks too spaced apart to be a sensor and I thought brown wires were generally Earths.
Is it not a connector related to Earths that sits on the plate to the right of the inlet manifold when looking at the engine?
Again could be completely wrong, I've got 2 wiring looms and both are nowhere near cars to check at the moment!