The artist whose track it is the one responsible for making sure that a sample is clear. If it is your song, you are responsible for ensuring any samples featured in it are clear for use.