Fixed regression bug, where GetRedacted was used outside a Log message.
Retested and found more instances of log leaking.
Avoid use of temporary.
Don't use temporaries when variable is used only once.
Fix whitespace.
Cosmetics and unnecessary header.