Here’s a thought…
If your company cannot ensure that a mechanism like this will work consistently for every consumer…stop using it. Plain and simple.
If you really want to use codes like 2K does, make the entry within the game so you can ensure it works.