Changing the pitch works best, just modulate it to a semi-pitch up or down & you're good, deleting the info doesn't do shit & I'm pretty sure they can't legally do anything if it's shorter than 30 seconds, that however, might not stop YT as it is run by Google & Google is pure evil.
There are some Floyd songs with changed pitch on YT that have no copyright shit on them, so I think it still works.