Please do not forget to click a positive rating as this is the only way I receive credit for my answer, thank you.
Neither of these codes is for a cam sensor
the first one points to a vanos / solenoid issue, or a legitimate camshaft / bearing issue
the second one related to an oil pressure control fault, which could be related to the ecu, oil pump, pressure sensor, or legitimate oil pressure problem
it is possible that both codes are being caused by an oil restriction of some kind as well
you would be strongly advised to use only a BMW Specialist if you are not
Please let me know if you have further questions. Please do not forget to click a positive rating as this is the only way I receive credit for my answer, thank you. Best wishes with your repairs.