Regulated industries, licensing and legislation