Drip rail sealant?

What type of sealant was used to seal the roof seam in the drip rail? I need to try to remove the old stuff to clean up the metal and paint then need to seal it
back. Anyone have a tip on the best way to remove the old?