What about games installed from disc? No account has purchased the game in that scenario.
You can also make the disc acquire a lock on its UUID when it plays in multiplayer, and while the lock is held nobody else can acquire it. If you see too much lock contention it could suggest that the disc is being copied at scale (as it normally should never happen, but you can allow some leeway in case the lock wasn't released due to a legitimate issue).
They'd need an infinite source of valid IDs which would mean they'd need to buy discs for each ID at which point the piracy problem is kinda solved?