The tank mounts to the bumper and sides of the frame with 4 bolts; these pass through corresponding flanges on the tank and frames, one facing up and the other mating to it from above. These flanges form a sort of U-channel pocket for strength. Normally, water would get all over these, air would get to them, they would dry and last a long time.
The previous owner filled those pockets with some kind of rubber and smoothed it over, in an attempt to prevent water getting in there. The result is the exact opposite: water has been trapped in there and completely rotted it out, causing (eventually) failure of the metal at the flange weld and a leak.
Here is the flange assembly (the tank is on the right, the dark coloration is gasoline):

From above looking down you can see the rubber he filled in the flange "pocket" with, covering the bolt heads. Its clearly rotting away and as it contracted the edges peeled back, letting water in and keeping it there. All the metal surfaces that were covered have serious cancer oxide.

Once the rubber has been removed and the pocket cleaned and wired out, you can see the remains of the bolt heads, now solidly fuzed to the bumper bracket.

This is the same bolts from underneath (covered in corrosionX). Notice the condition of the exposed nut and washer, threads vs. the "protected" rubber covered bolt heads in the previous pic. These can be worked with.

So, aside from causing a leak in the gas tank, it has taken me 2 and a half days to drop the tank BEFORE I can get to even soldering the damage. He even put these filler pockets on the front mounting flanges as well, which I can only assume was done from above when the bed was replaced, as it would be almost impossible from below. Please dont do this to your trucks! Let the water get to them. Let the air get to them to dry the water. Repeat.
On a positive note, I'm going to have a nice restored tank, and Im running my own copper fuel lines in place of the old metal and rubber frankenstein mess thats on there, back where the OEM lines are supposed to be and adding another fuel filter at the tank.
Good times.