Create metadata location_code factory
Alias Metadata_Factory.location_code to new_location_code