The Denatured State Dictates the Topology of Two Proteins with Almost Identical Sequence but Different Native Structure and Function*