It’s really quite hard to imagine what’s happened here. If the white stuff is metal and there was room for it between the pulley and the shaft, then presumably the pulley is unusable.

i just checked in my box of bits in the shed, and the spare pulley I remembered being there (haven’t looked in there for years) is firmly attached to an unused motor.

If by chance your pulley is still a decent sliding fit on the motor shaft try the superglue trick, you’ve nothing to lose. If that doesn’t work, then we can come to an arrangement with my spare motor and pulley.