You're likely thinking of Season 4, Episode 12–13: "Time Stands Still" (the school shooting two-parter).
Kelly (Melissa DiMarco) does not sing to Emma (Miriam McDonald). Instead, "The Story" by Brandi Carlile plays over the montage as Emma processes the trauma. The song is diegetic—heard as background/emotional underscore, not performed by a character.
If you recall a character singing to Emma, it may be a different episode or series. Clarify the scene (season, context) for a precise match.