Call the anonymous function immediately after creating it, to have it's evaluated value be used, instead of the function itself:
useString((() => {
"foo"
})())
You can also pass in arguments, if needed:
scala> ((a: String) => { a })("bar")
res3: String = bar