That setting is essentially malware and it’s a huge shame that android added it.
Sure, for each part there is usually some exploit known, but the whole thing is getting much much harder to the point where if the average user said "How do I screenshot this app" the only real answer is to take a photo of the screen.
The PPV in the 90s was broken because too few bits were used on the encryption and it became possible to essentially brute force the keys, IIRC.