The issue is more about such systems not being powered by magic, thus lacking a way of magically protecting data so it will only be used by the parties and in the ways it is supposed to be, which means, as Discord has recently demonstrated, such laws will only increase the risk for those they allegedly aim at protecting.
> As of today, March 4th, Operating Systems developers have only 13 days remaining before the Brazilian law takes effect.
I do think the Brazilian law does not apply to, at least, open-source operating systems. [0]
[0] https://news.ycombinator.com/item?id=47338237