If your vehicle was built prior to April 2009, there is a TSB for this exact issue. When both of these codes appear simultaneously, it is the fault of the timing solenoids. The TSB states to replace the timing solenoids...
Hello there, the P0022 code (https://www.yourmechanic.com/article/p0022-obd-ii-trouble-code-camshaft-position-a-timing-over-retarded-bank-2-by-jay-safford) is indicating that the car's computer has over-retarded the engine timing. This makes sense with the 87 octane gasoline used instead of the 93 octane gasoline. The car was most likely attempting to adjust...