Wrap calls to metadata_admin.

Change-Id: I17a02f33792ea00ab4d60b9760092f42b95b3ae1
Merge "Wrap calls to metadata_admin."