you can use epoxy adhesive. it is safe when it solid because it can resist chemical and it can stand the temperature up to 177 degrees C.
Wikipedia said:
Epoxy adhesives are a major part of the class of adhesives called "structural adhesives" or "engineering adhesives" (that includes polyurethane, acrylic, cyanoacrylate, and other chemistries.) These high-performance adhesives are used in the construction of aircraft, automobiles, bicycles, boats, golf clubs, skis, snowboards, and other applications where high strength bonds are required. Epoxy adhesives can be developed to suit almost any application. They can be used as adhesives for wood, metal, glass, stone, and some plastics. They can be made flexible or rigid, transparent or opaque/colored, fast setting or slow setting. Epoxy adhesives are better in heat and chemical resistance than other common adhesives. In general, epoxy adhesives cured with heat will be more heat- and chemical-resistant than those cured at room temperature. The strength of epoxy adhesives is degraded at temperatures above 350 °F (177 °C).[7]