I had the same thing when I opened up my fireplace recently but mine was electrical. Luckily only plug sockets, I had to reroute them and fill in the holes with fire cement. They look like old gas pipes to me but I wouldn’t mess around with anything like that, I’d personally get someone to come and ...