it’s an emergency function that google silently introduced in all phones years ago. Theoretically it should be used if an app is widespread malware
Is there any evidence that this will really remove Google’s ability to (a) see what’s on your phone, and (b) delete whatever they want?
the only workaround is to install a custom ROM without google play and google services
That’s overkill, with a rooted phone you can simply freeze (might be able to freeze it with ADB as well) or delete the Play store (it’s the Play Store where this Malware lives). GMS and Account Manager will work just fine without the Play store.
Or, like the other person said you can just disable Play Protect.