Place the motor spline side down, then clamp the vice into the thin exposed edge of the side cover. It’s a case of incrementally tightening the vice whilst rotating the wheel until the cover turns. Scratching the aluminium cover is inevitable, but the scratches will be hidden by the derailleur...