Soft or hard bolts for exhaust flange?

I've always been told grade 8 will not rust as quick, and heat will not harm it like grade 1-2 bolts