Diagnostic Trouble Code P0017 (https://www.yourmechanic.com/article/p0079-obd-ii-trouble-code-crankshaft-position-camshaft-position-correlation-bank-1-sensor-b-by-jay-safford) has many causes other than a failed position sensor. For example, the valve timing could be off if the timing chain has jumped, there could be oil flow problems to the phaser from incorrect oil...