Adapt new code for Contacts to work with EAS.
Adapt new code for Contacts to work with EAS.

Test plan:
All tests in tests/general/contacts + tests/api/test_contacts.py pass.
EAS sync does not fail.

EthanBlackburn/sync-engine,gale320/sync-engine,nylas/sync-engine,ErinCall/sync-engine,wakermahmud/sync-engine,jobscore/sync-engine,wakermahmud/sync-engine,EthanBlackburn/sync-engine,Eagles2F/sync-engine,wakermahmud/sync-engine,nylas/sync-engine,gale320/sync-engine,EthanBlackburn/sync-engine,jobscore/sync-engine,EthanBlackburn/sync-engine,wakermahmud/sync-engine,PriviPK/privipk-sync-engine,nylas/sync-engine,PriviPK/privipk-sync-engine,Eagles2F/sync-engine,closeio/nylas,closeio/nylas,ErinCall/sync-engine,PriviPK/privipk-sync-engine,EthanBlackburn/sync-engine,ErinCall/sync-engine,jobscore/sync-engine,gale320/sync-engine,Eagles2F/sync-engine,closeio/nylas,jobscore/sync-engine,wakermahmud/sync-engine,PriviPK/privipk-sync-engine,Eagles2F/sync-engine,ErinCall/sync-engine,PriviPK/privipk-sync-engine,gale320/sync-engine,gale320/sync-engine,closeio/nylas,nylas/sync-engine,Eagles2F/sync-engine,ErinCall/sync-engine