added error check for phone formatting.
removed unneeded import statements.
added url length check and removed unneeded length check later in the process.
updated error handling in ToSSN function.
fixed length check bug in ToLockCombo