How to hide metadata from Postgres users?
Doing that is not supported.  You can try a little bit, and you will succeed a little bit, but everything else around you will fail.  Don't do it, it won't work.

If you need to protection your intellectual property from your clients, create a proper contract or license agreement.