Using homomorphic encryption to protect your data is the way forward:
https://blog.google/security/how-google-is-making-private-ai...