mark method visibleMetadataFields as public

Bug: 64224
Change-Id: I26e8a743a6b36591438410a0c97ed5fae815fabb