Adaptation of the uc517 rev D1 RPI camera for the Xavier

Hawe two UC 517 rev D3 xavier specific cameras but one of them has problems with white balance.
Can i am temporary replace it with the UC 517 rev D1 RPI camera (also available)?
What modification should be done?
Is there a way to lower thermal noise in 4k resolution mode (noice leads to problems with depth map generation after succeful calibration?)?