Legislation pushed by a Democratic lawmaker could hurt Californians struggling with the cost of living.