Thats why I've enjoyed working for the government for the past couple decades. I'm pretty confident that a good chunk of the code I write will never make it to production.
As an aside, wouldn't you enjoy some degree of pride if you could claim otherwise? Like "every licence plate number in Kentucky is generated by an algorithm I wrote" or some such?