Regulations that are supposed to help consumers often wind up doing just the opposite.