Bronko, most all ammo manufacturers hold to that 10 year shelf life if properly stored. Some, though very few that I am aware of, keep to a 5 year shelf life. Hell I have probably 200-300 rounds of CCI's that are 20+ years old.
As far as the different compounds in the primer of a rimfire vs a CF, they use the same stuff in both nowadays. Except that minute amounts of crushed glass is sometimes put in the rimfire cartridges to accelerate the energy of the firing pin. Back many years ago they would use Mercury Fulminate in CF's and Potassium Chlorate in Rimfires. And that was based on availability of Mercury which could get somewhat iffy.