Amazon includes a sample clip option - and so can you. You could avoid copyright issues by recording audio of you stating something like - don't just use my 'script'
hi, apologies as you're aware this isn't actually the track by [artist] you were hoping to hear. This website is a student coursework production and whilst we wanted to demonstrate our grasp of technology and industry conventions, we didn't want to contravene the artist's copyright. You can, however, find links to the actual artist page on various streaming and digital retail sites on this site!
Here's Amazon's Skrillex page, for example, with playable clips:
Wix provides a tool for creating a similar experience on your own website:
add the lyrics beside an embedded track:
I added Wix to my search I stumbled across the above ... its worth having a look at the many tools Wix offer specifically for music websites!
Try this google to look through some of the results below:
As always, please pass on any tips from your own work I can share here.