You are seeing this UUID in console because your connection failed to websocket, if you think that just by hiding it from console you are securing your UUID then it is not the case because network tab have all the things what requests and responses you are getting with which or what kind of url.
If UUID is that important that it should not have to be violated publicly than you can use something else like slug.