The trending TikTok folk song covered by Joan Baez has a rich history.