Hi @mohitp
You can consider trying the below code to see if it works:
{% for line in order.line_items %}
{{ line.product.title }} {{ line.quantity }} {{ line.price }} {{ line.variant.metafields.custom.country_of_origin }}{% endfor %}
I hope this can help.