If so, that is the real solution, because it works in all cases.
Encrypt your data locally before it is uploaded to a service that scans your private communication. This is most likely how the child abusers will do it too. And therefore the law will be ineffective at fighting sharing of child abuse material on the internet.