How do I reference an env_var_name param from inside code wrapped inside include()?

I have a command with an env_var_name parameter. The command has a step that uses a command that uses include() to wrap a script. I’m unsure of the syntax I am supposed to use in order to reference the value of that parameter from within the script since the include() wrapper seems to escape my double arrows <<

commands:
  my_command:
    parameters:
      foo:
        description: Blah
        type: env_var_name
        default: MY_SECRET_THING
    steps:
      - run:
          name: Attempt 1
          environment:
            FOO: << parameters.foo >>
          command: echo "${FOO}" # prints string literal "MY_SECRET_THING"
      - run:
          name: Attempt 2
          command: echo "${<< parameters.foo >>}" # properly prints redacted contents
      - run:
          name: Attempt 3
          command: <<include(scripts/my_script.sh)>> # improperly escapes <<

Contents of scripts/my_script.sh:

echo "${<< parameters.foo >>}"