Is it local-only? If so, it has far fewer privacy implications than CSAM scanning.
It’s a different feature that works in an entirely different way. There’s plenty of descriptions of how both features work out there, there’s no need to guess at what they might do.