Douglas Harper's Etymology Dictionary
S.T.D.
1975 as an abbreviation of sexually transmitted disease. Earlier it was an abbreviation of Latin Sacrosanctae Theologiae Doctor "Doctor of Sacred Theology."