Tootsie? - I think Madame Butterfly has nothing to do with the Chinese spy story. The opera is about Japanese girl, who marries an American officer - and is betrayed by him (and the society).
I'm sorry you're quite right, I got mixed up because the spy was himself an opera singer and inspired the play M. Butterfly. And thanks for the suggestion.