If the white wire is reidentified as green at both ends (socket and panel) and in the panel it is connected to the equipment ground (that the right term for the green wire and metal case of the panel?) that the bare grounds from
romex runs connect to, that should be fine, yes?