Check the signal at its source
The engine oil temperature sensor is what code P0197 is reporting on — specifically, the circuit is not reporting a plausible signal to the control unit. This points to an area, not a confirmed cause.
How to tell the paths apart: Read the live data and compare it against the expected range for current conditions before replacing anything.