If you used a lead from a popular song and did your own thing with it, but not actually sampling the song it's from, it's not infringement. However, if you release your song on like soundcloud or something, there are going to be arseholes criticizing you for using that lead because technically you ripped the lead from the original artist. It's not always like that, but I would just be careful with what you're doing.