If you give away trade secrets by intentionally giving them to another party without an explicit agreement of secrecy no statute in the world will protect it.
You have to take “reasonable” measures to protect trade secrets. Uploading them to a service without any confidentiality agreement or worse, where the provider officially has the right to use that data, defeats the definition of a reasonable measure.