I'm not sure if laws could do anything against that...
...since laws often leave gaps for secret services, or secret services simply ignore those gaps.
Same goes for technologies like "Secure Boot" which centralize control over your hardware in a way hardware vendors can easily (be made to) cooperate with secret services against the interests of the users.
What we need to do is to abolish secret services and to actually actively help people against foreign secret services.