Steel wool around a gas pipe
By gas pipe, you mean the gasline--not the actual chimney, right? If so, that is likely steel pipe. It COULD be copper, but you'd be able to tell if that's the case. If it's a steel pipe, stainless steel wool should be fine to plug it.