The security code we send out is only valid for 15 minutes, and you can only request one code every 15 minutes.
If the code isn't working anymore, then the best thing to do is wait for at least 15 minutes, then restart the game and enter your e-mail address again on the mod menu to request a new code.