Windshield seam sealer? What to use.

Thanks all, top picture is the front. Bottom picture is the rear. The rear has that extra layer in it of some kind of putty. Not sure if it's factory or not. And not sure the best product to to use, that's why i asked.