Metro Government and the Louisville Metro Police Department agreed to settle a class-action lawsuit accusing the city of overcharging people for years whose vehicles have been towed.