Oh, yeah. Didn't see the second, whole schematic.
Couple suggestions:
1. Learn to debug your circuits. Isolate causes. You kind of did that looking at the signal before and after the opamp buffer (if I got it right), but you probably didn't disconnect the opamp buffer from the output stage. So do that first to isolate the problem. Disconnect the buffer's output from the potentiometer. If the signal is not distorted, then you know you have a problem with the output stage.
2. You shouldn't implement what I take is a volume control by a direct gain control of an opamp IMO. Especially with a mechanical pot. In this config, it's bound to quickly make all kinds of noises while you're rotating it... besides, in this config (inverter topology), you're not going to get a zero-volume. Don't know whether it's purposefully or not. And what do you think happens as the wiper's resistance goes down to zero (res. beween the pot's wiper and the end connected to the opamp's output)? Compute the inverter's gain for the two extreme positions of the pot.
3. If it's for volume control, just use like a 10k pot in a classic attenuator configuration, and the wiper connected to the input of the last opamp configured as just a buffer.