use get_country_code

depends on https://github.com/dimagi/commcare-hq/pull/2865