Engine wiring connector help

Having an issue identifying what this is supposed to connect to. Right side very close to the Cam position sensor.

2011-07-08_08-42-27_658.webp
 
That's not the camshaft position sensor if it's on the passenger side of the engine.

It looks more like the crankshaft position sensor plug and the other one connects to the air conditioning compressor.