Some drivers will be banned from giving lifts under new licences law