Added function to get the country code for a region