Discerning quantum memories based on electromagnetically-induced-transparency and Autler-Townes-splitting protocols