Better use HCl, no risk of Metastannic acid then.Nice experiment man thank you.
I have encountered this metastannic acid so many times, I once cried because of its problem.
I have also discovered a simple way to avoid with an easy method I will like to share here. But unlike yours, this method will prevent it from forming by eliminating the tin before reacting the pins, or PCBs in nitric acid.
To do this simply cover the the pins or PCBs in water, the add a few drops of nitric acid 67% to the solution, then give it some heat and a few hours (at least 1 hour). Assuming you covered your pins in 400ml of water, you will need only 25ml of nitric to do this.
As the solution is heated with time, it will turn from clear color to green. Sometimes the metastannic acid can even precipitate out.
The acid will be strong enough to attack the less reactive metals like tin while the more reactive metals from copper above are not attacked, therefore the acid is so weak it will not strip any gold foil. When you're comfortable you've eliminated all the tin, pour off and discard the waste solution.
If you do this properly, when you add nitric acid to eliminate base metals, no metastannic acid will form.
Or better yet, use AP directly.
If you use Nitric it will create Metastannic acid with Tin, you just throw it away.
Wasteful and depending on how you treat your waste, it may be bad for nature.