We’ve been using the B0165 camera for several years. It has always looked like the image below and come with the number UC-599 on the PCB.

The most recent batch we ordered has the number UC-788 on the pcb instead, and they look like this:

The new ones do not work, or at least they are not a drop in replacement. What has changed?
What do I have to do to get this camera to work like the older version?
We’re reading them with a raspberry pi and raspbian buster. Using arducams C drivers. We could upgrade the os if absolutely necessary but I’d strongly prefer not to.