Line-shaft pulley marks

At some time, the pulley mounted here has slipped.
The flat and the key may have been added to stop this.