This stuff works GREAT ! I live in an older mobile home that had a lot of leaks when I moved-in. I worked for two years to locate and fix them all. Now I simply go over all of the repaired places once a year just to be sure everything is OK. NO LEAKS FOR 4 YEARS NOW!!  Others here use "sno proof" or something that does not stop leaks. When I tell them about my success, they don't seem to want to pay the$ for this superior product. Too bad!. I used the tape in  repairing the leaks.
If you cut the nails holding one of the corner studs to the bottom plate and the top plate with a Sawzall, you can use a flat bar (or a flat bar plus a wrecking bar) to pull the stud off the sheathing nails. Either re-use the stud, or buy a new stud, and install the stud with toenails as shown in the link I provided in Comment #51 (this link: Outside corner detail).

SPF, a spray-applied cellular plastic, is made by mixing chemicals to create foam. Those chemicals react very quickly, expanding on contact to create foam that insulates, air seals and provides a moisture barrier. When properly installed, SPF forms a continuous barrier on walls, around corners and on contoured surfaces. It resists heat transfer very well and is an effective solution for reducing unwanted air infiltration through cracks, seams, and joints.

One of the key differentiators between traditional insulation materials and spray foam insulation is the latter’s ability to insulate and air seal. Foam insulation provides an air barrier to wherever it is applied to help mitigate air leakage from the building. Air sealing the building envelope with sprayed-in foam insulation also helps address moisture ingress to reduce the risk of mold and mildew growth as well as the formation of ice dams in colder climate zones during the winter months.  When you compare foam insulation with traditional fiberglass insulation and cellulose insulation, sprayed insulation minimizes air infiltration, it assists in limiting moisture vapor from entering and escaping the home, which in turn reduces the load on heating and cooling systems. Below is a video that compares fiberglass, cellulose and open-cell spray foam in terms of insulating and air sealing value.

Roof Spray Foam Insulation