Practical lessons from deploying AI securely at scale