New legislation aimed at lowering costs of prescription medicine