I feel like it would be possible to write software to tell artists if a song is in danger of copyright infringement of other registered songs. Either by analyzing the raw audio like Shazam does or by feeding the software the transcribed notes on sheet music or something similar.
But I guess here the issue was more about whether or not the infringement was intentional.