Surveilled doesn't come into play here. The text messages were ordered to be disclosed and the people involved complied. It doesn't matter that the conversation was encrypted, if you have a record, you have to turn it over. Using a messaging service that automatically deletes old messages might be a way to avoid it.