[lib] Make synced metadata name field an enum
Summary:
Makes the metadata name field an enum for code cleanliness. Future synced metadata types can be included in the enum
Depends on D11627
Test Plan: flow check
Reviewers: atul, ginsu
Reviewed By: atul
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D11628