In
Management Studio, right click the server then click "Properties".
Click on "Permissions" and then select the "Public" role and remove
Grant from "View Any Database". I'm not sure if this will achieve what
you're looking for but it's how to remove that permission.
But I'll suggest you should do it at the login level....