Brushing Teeth and Listerine Strips on Yom Kippur

Is brushing teeth okay (with toothpaste) for both Tisha B’Av and Yom Kippur? I ask because I recently saw a sefer arguing that the former is okay because it is derabanan while the latter is de’oraisa.

Is there any written teshuvah that says this?