What baking time is optimal for recipes that are done in pyrex for banana bread versus metal baking dish?
Time is only a rough indication of whether any dish is "done", the biggest 'unknown factor' from your question is, "what temp are you baking at?".
I would suggest you use the following 3 tests to determine when your banana bread is done (regardless of whether you are using pyrex or metal):
Each condition should be met in order, so don't bother with the toothpick until you see the rich brown color, then once the toothpick is clean, check the internal temp.