I guess the next step in piracy is to change the apk enough that it doesn’t get recognized correctly, if that’s possible? Though then everyone will have to worry about malware-ridden apps.
I think this is horrible, aside from piracy, because you may want or need to stay on an older version of an app. I have had to for devices at work that require a specific version or just an easy way to manage the device and ensure devices only got updates we approved through our MDM.
The app checks if the current user is licenced so you would have to crack the DRM to bypass it.
It's not like the DRM is simply a filehash and all you have to do to avoid it is to change a byte or two.
Google made this available so they can encourage developers to use it and say "we're not a monopoly, the developers are adding the check" and see how long they can get away with it.
I wonder if the latest "play integrity fix" module could solve that problem. Its already allowing me to use bank apps on my rooted phone, so I assume it would let me sideload too if the integrity was "fixed". Google is making more problems with paid solutions.