He doesn't have to say "Oh hello I'm Rand, the Dragon reborn and here is a song." He had time between finding it and "dying" to leave a note for the ogiers or even tell them about it before hand. Or he can go up to them after, pretending to be a Tinker and exclaim that he finally found the song...