Both star actor Araki Towa in a drama that includes him being lusted after by his teacher. Smells Like Green Spirit is BL while Shounen no Abyss is not.
Both of these dramas center around a suicidal main character in high school. Upon finding out about their suicide plans, a teacher at their school offers to be in a relationship with them in order to prevent it.