Does "number" mean the same thing in these two sentences?

She refused to give them her Social Security number.

She preferred the black nylon number.
different meanings