Apparently Google provided police with IP addresses, but not names [1]. Assuming that Google did not provide any other account details, the usage of a VPN service or Tor might be able to protect users in similar cases.
[1] https://apnews.com/article/google-search-arson-suspects-colo...