Doesn't have your driver a pin for switching it's load on and off? dc42 is right that switching the load side of a constant current driver isn't a good idea. You should switch the input side and not the output side. A description or picture of the circuit with details on the driver helps us to analyze your project.