The earliest mention I can find is "The Loss," then "Hero Worship" and "Interface." But as I said below, my first recollection of them was from Generations, partly because I read the script before the movie came out. When they guess what happened to the Armagosa Observatory, they suspect the Breen or the Romulans.