If that's a concern, then just use a screw or bolt that is threaded only half way (such as a cap screw).
The trick here would be for the threads to start after the thickness of the helmet, but not longer than the nut. You'll probably have to cut the threaded part down a bit, but that's not hard to do using a vise and a hacksaw. Then use pipe tape (also known as teflon tape) on the threads to insure a snug fit into the nut to keep the screw from rotating. That way, if you ever need to remove the visor, all you have to do is unscrew it.