The code itself is harmless. It is a label, not a virus, and cannot hack your phone or steal your data simply by appearing in your inbox.
Never reply "STOP," "YES," or "HELP" to a code you didn't request. This confirms to the attacker that your number is active. nxsms code