GN integration changes

* Make layer public now update metadata privileges. #87023
* Obtain metadataId from properties to show it #87025
Merge pull request #249 from alediator/87025_view_metadata_changes

GN integration changes