I would hope not. The copyrighted content seems to be the link rather than anything in the app.
Your example sounds like stopping notepad from rendering copyrighted content
Your example sounds like stopping notepad from rendering copyrighted content
From a regulatory perspective, it seems unlikely that most courts would appreciate the difference. In their mind - you run a website, and that website contains copyrighted content. Take it down.
You'd probably have to just blacklist the link in question to avoid a legal headache.