Set the SyncPublish metadata on keys that don't have them yet. (cherry picked from commit 30cb5c97c2)
30cb5c97c2