This is a replacement thermocouple for gas fireplaces and stoves, sold under part number 812-4470. It is a 14-inch sensor that sits near the pilot flame and tells the gas valve when the flame has gone out. The metal and wire build is meant to handle the heat and everyday use inside the firebox.
It suits anyone with a listed Quadrafire Castile, Contour, Mt Vernon or Santa Fe unit, or a Heatilator CAB50, PS35 or PS50. Before buying, compare the length and part number to the one you pulled out. The listing says to shut off the gas and wear gloves during install, and to check the electrode sheet left and right orientation.