down to the wire

Meaning 1
referred to the wire used to mark the end of a race; now the wires are electronic
Sentence 1
They were neck and neck down to the wire.
Meaning 2
the last few minutes before something must be accomplished
Sentence 2
I'll have to stay late tomorrow to get this finished. I'm down to the wire on the proposal.