Send new order emails to different address

I would like to pull store_email from the database and use it as the email to which new orders are sent to on line 48 of the second pastebin. store_email is stored as meta for each order (I followed lesson 3)

I am able to call that input by using:

<?php echo wp_kses_post( $post->store_email ); ?>

But I need it to work, like I said, on line 48 of the second pastebin file.