Proposed law would require headlights on while driving