A deputy’s quick thinking helped rescue a driver from her car after it was swept into a creek, California officials said.