what your doing.... you need to start over.
The incoming cable from the panel breaker box is incorrect for the receptacle and a 120/240 volt electric dryer. That cable needs to be replaced with a 4 wire 10/3 with ground cable. The receptacle needs to be replaced with a 4 wire dryer receptacle (nema 14-30R) like this below not the 10-30R you have now.
A 10/3 with ground cable from the breaker box will have 4 wires red(hot), black(hot), white(neutral) and bare copper ground. In the diagram (above) X and Y are hots (it doesn't matter which hot wire red or black connects to them), W is white neutral and bare is your ground.
The dryer power cord needs to be replaced with a 4 wire dryer cord.
The dryer needs to be converted from 3 wire connection to a four wire connection. We can tell you how if you can't figure that out. It involves removing the green and yellow wire you see attached to the dryer frame in your picture and capping it off. Then attaching the green wire of the new power cord in it's place. An example ...
On the dryer terminal block (above) the center terminal (silver) is white neutral the other two on each side are the hots (black and red of the new power cord). The green of the power cord connects to the dryer frame in the same location as the green and yellow striped bonding wire you presently are showing in your picture.
Ask more questions if needed.
You should be advised doing electrical work and making or not recognizing the errors shown in your photos suggests you consider hiring an electrician especially since this is not your property.
EDIT: Almost forgot you have current on your water pipe. Touching the water pipe until you find the cause is not good. Use a testing device or get an electrician. You also need to understand the connections in the breaker panel if not get an electrician