Hi Ridgey,
Unfortunately for you, the bolts aren't stainless. They're Titanium! Stainless is soft, Titanium isn't. You may have to drill the heads off using a cobolt drill and then use heat and penetrene, coupled with vice grips or a strong vice to loosen them up.
Start by soaking them in Penetrene or diesel fuel, same thing ... kinda. Use cutting fluid on the drill and keep the speed down and you should be fine. It can be done, but it's a mission and will lead to the destruction of the bolts but hopefully not the threads in the mast.
Next time, use Tef-Gel

DM