Also these fingerprints in reality are very flaky and the higher the quality of the sensor the less of a fingerprint there is to work with.
The fingerprints are also dependent on specific operating conditions which can change with firmware and operating parameters (e.g. digital zoom / cropping) as well as environmental conditions such as light levels and even temperature.
Luminance sensitivity information could probably be most-easily detected in the dark areas of an image. So just crush those areas.
I suspect the more you think about this problem the more the answer becomes: Compress your image in order to remove information density.
Still, a determined adversary might find this information discernable over a long enough series of images.
Even with DSLRs and RAW files you often don’t get a RAW output from the sensor all of them do their own “color science” magic and other alterations like denoising too even on the rawest of the RAW settings.
RAW files today just mean that the files are uncompressed or the least compressed since there might be some compression/downsampling happening at readout anyhow and that you get a ton of metadata that can be used by a photo editing app to better work with the image.