As much as I hate saying this, on this occasion I'm saying get an electrician.
There are all sorts of issues with metal buildings, but consider this one: You nicely isolate your electric accessories from the metal structure and the metal structure itself happens to be isolated from true earth.
Everything is good, everyone is happy.
Over the years the tumble drier has shaken itself to be in contact with the metal structure and at the same time the paint of the tumble drier and metal building have rubbed through so it is in good contact (this part is very normal and common - especially with a washing machine)...
Everything is good, everyone is happy.
A fault occurs, making the earth of the electrical system live (let's not get into the hows, what's or why's) and now the metal building is live.
My view on this is it would be best if this is a full blown TT system with suitable RCD and a local earth to lock the metal stucture to local true earth.
Additionally my view is the armour of the cable should be totally isolated at the shed, no silly superfluous box, not even a cable gland. Note the voltage between the 2 metal enclosures:
View attachment 124126 The problem had been there for a long time and that short piece of plastic conduit was just one of the things specifically added to overcome RCD tripping problems.
and my solution to stop that happening. Ignore the brown/black reversal - I believe that was my error when swapping the RCD [from the house] and main switch [to the house] during faultfinding.
View attachment 124127