[contactsd] Maintain reference to string data for output