Here’s a pic of the fitting it’s called a weather head
it’s 5/16 inverted flare for the tube and the other side is 1/4” npt that screws into the pan sump. I’m not sure why you have something riveted to your pan because the original was a fitting spot weld to the pan from the inside and all that...