I really don't see how any of this is incompatible with the checks of warranted search.
Compulsory digital surveillance sucks, don't do it, but if it's required else the data is lost forever then it's required. (if you agree with the legal access to private data)
This is not complicated, you don't need to make it so.