The PS disc copy protection is only checked when the system is booted. You can load one legit disc and swap it live for a burned disc, but it’s difficult because the disc is spinning the whole time.
This cheat code on a legit disc just stops the disc from spinning for a short time, allowing you to much more easily swap to the copy.