[native] Make metadata related methods public
Summary:
On web those methods are used directly, to add emscripten binding methods have to be public.
Depends on D8548
Test Plan: N/A
Reviewers: michal, tomek, jon
Reviewed By: jon
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D8549