Cement attacks copper pipe whether gas or water, it should have been wrapped.
Corgi rules are quite clear that runs in stud walls can only be vertical, horizontal runs shouldn't run inside the wall. Horisontal runs in chases are also frowned upon.
15mm copper pipe clip minimums are 2m vert 1.5m horiz and for 22mm 2.5 vert 2 horiz. Most people clip more frequently than that anyway because it's not particularly secure at that. Pipe mustn't touch the mortar in a bare brick wall because of the attack from the cement in it.
Distance from electic cable is 50mm by prefernce but 25mm can be used, closer than that may be OK if you wrap the pipe with insulating tape where it comes close to electric cable or terminals/connections.
Very safest route for gas pipe is outside the house and straight through the wall into where it is needed. Any gas escape is imediately dissipated into the atmosphere where it presents no risk of explosion.
Explosion is your enemy with natural gas. Stud walls present a beautiful opportunity for the gas air ratio to reach explosive limits.