Replace constant defined in block with let variable
Replace constant defined in block with let variable

This resolves Rubocop violation Lint/ConstantDefinitionInBlock.

alphagov/govuk_message_queue_consumer