How to solve electric shock issues in this system?
simulate this circuit &ndash; Schematic created using CircuitLab

Then can you see what is best way to suppress leakage from schematic, without compromising ground fault safety?

Can you estimate current and pF leakage from Vin and Vout Common mode?