Thanks for updating us on the solution for the electrical issue.
On the IVT code, yes it is possible for oil issues to result in that. Could you check your oil to ensure it is at the right level? Also, any idea when that was last changed and with what grade of oil?
- Those are the simplest steps.
Then, it could indeed be a sensor issue. How many miles does your car have?
Pull the sensor marked #1(passenger side) in the picture below and see if it looks gunked up and could use a quick wipe. If that fails, I would swap that one with the one on the left side/bank 1 to see if the code switches location to eliminate the sensor as being faulty
- Simple as well. However, to do this efficiently/quickly you would need an OBD2 reader (my basic one was 50 bucks from Autozone) or a dongle that works with a phone app.

Further reading on the source of the picture:
m45-2006-camshaft-sensor-p0340-t607101.html#p6691736